﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mayn.Video
{
    [SugarTable("wms_video_scan")]
    public class WmsVideoScan
    {
        public int ID { get; set; }
        public string IP { get; set; }
        public string ORDER_NO { get; set; }
        public string TYPE { get; set; }
        public DateTime CREATETIME { get; set; }
        public string CREATOR { get; set; }
        public int STATUS { get; set; }
        public DateTime? READ_TIME { get; set; }
        public string VIDEO_TIME { get; set; }
        public DateTime? VIDEO_START { get; set; }
        public DateTime? VIDEO_END { get; set; }
        public string VIDEO_NAME { get; set; }
        public string PATH { get; set; }
        public string LOCAL_PATH { get; set; }
        public string CLOUD_PATH { get; set; }
        public DateTime? UPLOAD_TIME { get; set; }
        public int DEL { get; set; }
    }

    public enum VidoStatusEnum
    {
        /// <summary>
        /// 初始化状态
        /// </summary>
        Initial = 0,

        /// <summary>
        /// 已录制
        /// </summary>
        Record = 1,

        /// <summary>
        /// 已录制
        /// </summary>
        Zip = 2,

        /// <summary>
        /// 已上传至本地服务器
        /// </summary>
        UploadLocal = 3,

        /// <summary>
        /// 已上传至云服务器
        /// </summary>
        UploadCloud = 4,

    }
}
